package com.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.pojo.Comments;

import java.util.List;

@Mapper
public interface CommentsDao {
    List<Comments> getComments(@Param("id") Integer id);

    int addComment(@Param("id") Integer id, @Param("content") String content);
}
